Skip to content

Conversation

oliveror
Copy link
Member

Changes

  • engine-strict=true with "node": "24.x" made npm ci stop with EBADENGINE on Node 26, the current release. Widened engines to node >=24 / npm >=11 (package.json and the root entry in package-lock.json).
  • Node 25+ defines a global localStorage that is undefined without --localstorage-file and hides jsdom's implementation in Vitest workers; 14 web tests failed on Node 26. The web test project now runs with --no-experimental-webstorage (vitest.config.ts); the flag is valid on Node 24 too.
  • README and docs/operations.md now say Node 24 or newer, tested on 24 and 26, with 24.21.0 still the reference version for .nvmrc, CI, Docker and the VM. No change to CI, Docker or the VM.

Validation

  • Node 26.12.0 / npm 11.20.0: npm ci and npm run check pass (211 tests); argon2 hashes and verifies.
  • Node 24.21.0 / npm 11.19.0: npm ci and npm run check pass (211 tests).
  • npm run test:e2e on Node 26: passes except the 2 macOS select tests fixed in Make keyboard E2E tests pass on macOS #76.
  • Not run on Node 26: npm run test:db and npm run test:api (no local database). CI keeps using Node 24.21.0.

Remaining work

  • Run test:db / test:api on Node 26 once, or soften "testet med Node 24 og 26" to the unit/E2E level.

AI usage

Written with Claude Code (Anthropic) during the final-delivery review. The change was proposed, implemented and tested by the AI agent and pushed from my account; the review summary is in the linked issue. Please review the diff as you would any other contribution.

Closes #77

engine-strict with node 24.x made npm ci stop with EBADENGINE on Node 26,
the current release. Widen engines to >=24 / npm >=11 and keep 24.21.0 as
the reference version for CI, Docker and the VM.

Node 25+ defines a global localStorage that hides jsdom's implementation
in Vitest workers, so web tests now run with --no-experimental-webstorage.

Closes #77
@oliveror oliveror requested a review from a team as a code owner November 16, 2026 12:57
@olestan olestan merged commit 2e1557c into dev Nov 16, 2026
2 checks passed
@olestan olestan deleted the chore/build-node-engines branch November 16, 2026 14:32
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants